package com.example.jimanguang.constants;

public class ApiConstant {
    public ApiConstant() {
    }
    //使用于移动端路由
    public static final String ROUTE_AUTH_ROOT="api/v1";

    public static final String ROUTE_AUTH_LOGIN="/login";
    public static final String ROUTE_AUTH_IS_USERNAME="/exists/{user}";
    public static final String ROUTE_AUTH_REGISTER="/register";
    public static final String ROUTE_AUTH_UPLOAD="/upload";
    public static final String ROUTE_AUTH_LOGOUT="/logout";


    //适用于后端管理路由
    public static final String ROUTE_USER_ROOT="api/v1/admin";
    public static final String ROUTE_USER_ALL="/";
    public static final String ROUTE_USER_PAGE="/page";

    public static final String ROUTE_USER_SEARCh="/search/{kw}";
    //表示响应数据的MIME类型
    public static final String API_PRODUCES="application/json";

    //常量定义
    //用户常量
    public static final String KEY_REGISTER_NICK_NAME="nick_name";
    public static final String KEY_REGISTER_USER_NAME="user_name";
    public static final String KEY_REGISTER_PASS_WORD="pass_word";
    public static final String KEY_REGISTER_EMAIL="email";
    public static final String KEY_REGISTER_PHONE="phone";
    public static final String KEY_REGISTER_AVATAR="avatare";





}
